
package com.starmark.core.framework.exception;


import com.starmark.core.framework.response.HttpCode;

/**
 * @author starmark
 * @version 2018年6月7日 下午8:46:11
 */

public class UniqueException extends BaseException {
    public UniqueException() {
    }

    public UniqueException(Throwable ex) {
        super(ex);
    }

    public UniqueException(String message) {
        super(message);
    }

    public UniqueException(String message, Throwable ex) {

        super(message, ex);
    }
    @Override
    public HttpCode getCode() {
        return HttpCode.CONFLICT;
    }
}
